package o;

import android.graphics.Bitmap;
import androidx.annotation.NonNull;
import java.nio.ByteBuffer;
import java.security.MessageDigest;

public final class xd extends wl {
    private static final byte[] ॱ = "com.bumptech.glide.load.resource.bitmap.RoundedCorners".getBytes(ˏ);
    private final int ˋ;

    public xd(int i) {
        aas.ˏ(i > 0, "roundingRadius must be greater than 0.");
        this.ˋ = i;
    }

    protected Bitmap ॱ(@NonNull uc ucVar, @NonNull Bitmap bitmap, int i, int i2) {
        return xb.ॱ(ucVar, bitmap, this.ˋ);
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof xd)) {
            return false;
        }
        if (this.ˋ == ((xd) obj).ˋ) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return aau.ˏ("com.bumptech.glide.load.resource.bitmap.RoundedCorners".hashCode(), aau.ˊ(this.ˋ));
    }

    public void ॱ(@NonNull MessageDigest messageDigest) {
        messageDigest.update(ॱ);
        messageDigest.update(ByteBuffer.allocate(4).putInt(this.ˋ).array());
    }
}
